#region History

/* -------------------------------------------------------------------------------- 
 * Project Name: Zealous Task Tracking System
 * Module: ZealousTTS.Web 
 * Name: WorkLog.cs
 * Purpose: ViewModel class for Work Log
 *                   
 * Author: Md. Hassanur Rahman
 * Language: C# SDK Version 4.0
 * --------------------------------------------------------------------------------
 * Change History:
 * Version: 1.0    MHR  11/18/2012
 * Description: Initial Development
 * -------------------------------------------------------------------------------- */

#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace ZealousTTS.Web.ViewModels
{
    [Serializable]
	public class WorkLogViewModel : BaseViewModel
	{	
        /// <summary>
		/// Gets or sets the ID
		/// </summary>
        public int ID { get; set;}
        [Required(ErrorMessage= "Please Select a User")] 
        [Display(Name = "User")] 
        public int UserID { get; set;}
        [Required(ErrorMessage= "Please Select a Task")] 
        [Display(Name = "Task")] 
        public int TaskID { get; set;}
            
        [Display(Name = "Hours Spent")] 
		public String HoursSpent	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Created")]
        [Display(Name = "Created")] 
		public String Created	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Modified")]
        [Display(Name = "Modified")] 
		public String Modified	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Worked On")]
        [Display(Name = "Worked On")] 
		public String WorkedOn	{ get; set; }
	}
}

